Script.ClearContext

Terminates the existing connection to an application in the application repository so a new connection can be established by the Script.SetContext statement. Use when a script needs to access more than one application or running process during playback.

To terminate a connection in a load test script, use the Script.ClearLoadTestContext statement.

Syntax

ClearContext()

Supported objects

Script

Example

Script.ClearContext()